@CHARSET "UTF-8";

/************************************ reset *******************************/
html{color:#000;background-color:#FFF;}
body,td, textarea, input, span, select, div,samp,a,th {font-family: arial,"宋体"; }
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,p,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
img{border:0;}
li{list-style:none;}

.floatleft {
  float: left;
}


/************************************ 全局样式 *******************************/

input {
  &::-ms-clear {
    display: none;
  }
  &[type='text'], &[type='password'] {
    border: #999 1px solid;
    height: ($line-height - 4px);
    background-color: #FAFCFD;
    padding: 0 0 0 0;
    width: $filed-width;
    line-height: ($line-height - 4px);
    border-radius: 1px;
    background-image: none;
  }
  &[type='checkbox'], &[type='radio'] {
    border-width: 0px;
    background-image: none;
  }
}

fieldset, select {
  border: #999 1px solid;
  background-color: #fff;
}

fieldset legend samp.i18n {
  font-weight: bold;
}

/* @skin new 默认按钮背景颜色 */

input {
  border: #999 1px solid;
  background-color: #fff;
  background: none;
  outline: 1px;
}

textarea {
  border: #999 1px solid;
  background-color: #fff;
  background: none;
  outline: 1px;
  background-color: #FAFCFD;
  border: #999 1px solid;
  padding: 2px 0 0 2px;
  background-image: none;
  &[name] {
    background-image: none;
  }
}

input {
  &[type='text']:focus, &[type='password']:focus {
    border-color: $base-color;
  }
}

textarea:focus {
  border-color: $base-color;
}

input[disabled='disabled'], textarea[disabled='disabled'] {
  background-color: #f7f7f7;
  border-color: #ccc;
  color: #9FB5DD;
  cursor: not-allowed;
}

/* @skin background-color:默认按钮背景颜色 */

input {
  &[type='button'], &[type='reset'] {
    /* background: #f1f1f1 url(images/ver_bg.png) repeat-x center -305px;*/
    background-color: #f9f9f9;
    height: 23px;
    border: solid 1px #D1D1D1;
    line-height: 22px;
    /*  cursor: pointer;  
     margin:1px 1px 1px 5px;
      */
    padding: 0 5px;
    margin-left: 5px;
    cursor: pointer;
  }
  &.default {
    /*     border-color:#000 !important;
        border-width:2px !important;
        margin:0px 0px 0px 5px !important; */
    /* background-position: center -327px; */
    background-color: #ddd;
    border-color: #000;
    min-width: 70px;
  }
}

/* @skin background-color:默认触发按钮背景颜色 */

.ccay-btn-focus {
  /*     border-color:#000 !important;
      border-width:2px !important;
      margin:0px 0px 0px 5px !important; */
  /* background-position: center -327px; */
  background-color: #ddd;
  border-color: #000;
  min-width: 70px;
}

/* @skin background-color:特殊按钮背景颜色 */

input {
  &.special {
    background-color: #ff9505;
    border-color: #CD0400;
    /* background-position: center -373px; */
    min-width: 70px;
  }
  &[type='button']:hover, &[type='reset']:hover, &.default:hover, &.special:hover {
    background-position: center -351px;
    /* border-color:#F2B22F;
    background-color:#fee040; */
  }
}

/* @skin 新增background-color:按钮悬停背景颜色 */

.disabled {
  border-color: #BABABC;
  color: #9FB5DD;
  cursor: not-allowed;
}

input {
  &.ccay-button-normal {
    min-width: 70px;
  }
  &.ccay-button-little {
    min-width: 20px;
  }
}

/* @skin new 去掉渐变背景 */

.button, .button_str, .button_sub {
  background: none;
}

/************************************ 布局 *******************************/

#page {}

#main {
  min-width: 980px;
  width: 100%;
}

#nav {
  position: absolute;
  width: 178px;
  padding: 10px;
  position: absolute;
  top: 82px;
  left: 10px;
}

#content {
  width: 80%;
  margin-left: 180px;
}

body.fullScreen {
  #c_layout {
    width: 98%;
    min-width: 980px;
  }
}

/************************************ leftMenu *******************************/

div.ccay-tree-filter {
  border: 1px solid #ccc;
  padding-left: 20px;
  background: #fff url('images/icons.png') no-repeat -160px 0px;
  overflow: hidden;
  input {
    border: none;
  }
}

#c_layout {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

#leftPanel {
  width: 180px;
  height: 100%;
  max-width: 300px;
  vertical-align: top;
  background-color: #f2f2f2;
  border: solid 1px #ccc !important;
}

#leftMenuContent {
  min-height: 400px;
  div.ccay-tree-filter {
    border: none;
  }
}

#midPanel {
  vertical-align: top;
  width: 15px;
  cursor: pointer;
}

#rightPanel {
  vertical-align: top;
  padding: 0 3px 0 0;
}

/*@skin new新增【line-height:22px;】*/

#ccay_page_nav, #s_switch_role, #resizeWorkSpace {
  line-height: 22px;
}

#leftMenuContentHide {
  margin-top: 200px;
  span {
    background: #fff url('images/ccay.png') no-repeat -550px -26px;
    height: 67px;
    width: 10px;
    display: block;
    &.narrow {
      background-position: -540px -26px;
    }
  }
}

.mainTableContent {
  padding: 0px;
}

#s_switch_role select {
  margin-right: 0px;
}

#leftSiteMapTree {
  width: 100%;
  border: 0px none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  overflow: hidden;
  height: auto;
  border-bottom: #ccc 1px solid;
  margin-bottom: 20px;
  li {
    min-height: 22px;
    padding-top: 4px;
    border-top: #ccc 1px solid;
  }
}

#filter_leftSiteMapTree input {
  border-left-width: 0px;
  border-bottom-width: 0px;
  outline: none;
}

#leftSiteMapTree {
  li ul {
    padding-left: 0px;
    padding-top: 4px;
    *clear: left;
  }
  span.button {
    background-image: none;
    &.noline_close, &.center_close, &.bottom_close {
      margin-left: 5px;
      background: #fff url('images/icons.png') no-repeat -60px -180px;
      width: 16px;
    }
    &.noline_open, &.bottom_open, &.center_open {
      margin-left: 5px;
      background: #fff url('images/icons.png') no-repeat -40px -180px;
      width: 16px;
    }
  }
  a.curSelectedNode {
    border: 0px none;
    background-color: transparent;
    filter: none;
    opacity: 1;
    color: #900;
    font-weight: bold;
  }
  span:hover {
    color: #900;
  }
  li {
    a span.button {
      display: none;
    }
    span.button {
      float: left;
    }
    a {
      display: table;
      white-space: normal;
      word-break: break-word;
      height: auto;
      span {
        white-space: normal;
      }
    }
  }
  .level1 span.button {
    margin-left: 15px;
  }
  .level2 span.button {
    margin-left: 28px;
  }
  .level3 span.button {
    margin-left: 42px;
  }
  .level4 span.button {
    margin-left: 58px;
  }
  .level5 span.button {
    margin-left: 72px;
  }
  .level6 span.button {
    margin-left: 86px;
  }
  .level7 span.button {
    margin-left: 100px;
  }
}

#leftSiteMapTree_1 {
  background-color: #f2f2f2;
}

/************************************ common class *******************************/

.hide {
  display: none;
}

.loading {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  filter: alpha(opacity = 80);
  opacity: 0.80;
  background: #fff url('images/loading.gif') no-repeat center center;
  z-index: 1000;
}

.loading_small {
  background: #fff url('images/loading_small.gif') no-repeat center center;
}

.loading_min {
  background: #fff url('images/loading_min.gif') no-repeat center center !important;
}

/* @skin 新增【padding-left: font-size: font-weight: color: line-height:】*/

#loading_msg div.ccay-dialog-body {
  /* padding:10px 0 0 40px; */
  padding-left: 65px;
  background: url('images/loading_small.gif') no-repeat 10px center;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  line-height: 30px;
}

/************************************ sub head *******************************/
/* @skin new 【新增margin-bottom border-bottom 修改padding-bottom】 */

h4 {
  /* background:url('images/ver_bg.png') repeat-x 0px -265px; */
  padding-bottom: 4px;
  margin-bottom: 10px;
  border-bottom: 1px dotted #09c;
}

/* @skin new*/

#myPrivilegeList h4 span.i18n {
  margin-left: 0px;
}

/* @skin new 【新增border-bottom 修改background-color padding 】 */

h4 span {
  background-color: #09c;
  padding: 3px 5px;
  font-weight: bold;
  color: #fff;
  border-bottom: 2px solid #09c;
}

/************************************ ccay-debug *******************************/

#ccay-debug li {
  padding: 5px 0 0 5px;
  input {
    &[type='text'] {
      width: 400px;
    }
    &[type='checkbox'] {
      margin-right: 3px;
    }
  }
}

/************************************ ccay-noPermission *******************************/

.ccay-noPermission-img {
  background: url('images/icons.png') no-repeat -40px -340px;
  width: 40px;
  height: 40px;
  display: block;
  float: left;
  margin-right: 12px;
}

.ccay-noPermission-i18n_box {
  color: #333;
  line-height: 24px;
  text-align: left;
  float: left;
  font-weight: bold;
  padding-top: 10px;
}

.ccay-noPermission_box {
  li {
    background: url('images/ccay.png') no-repeat -597px -296px;
    line-height: 24px;
    color: #333;
    overflow: hidden;
    padding-left: 12px;
    margin-left: 64px;
    font-weight: normal;
  }
  samp {
    line-height: 24px;
    color: #333;
    font-weight: normal;
  }
}

.ccay-noPermission-frame_box {
  border: 1px solid #eee;
  padding: 10px;
  width: 495px;
}

.ccay-noPermission-close_position {
  text-align: right;
}

span.unread {
  background: url('images/icons.png') no-repeat 0px -160px;
  padding-top: 2px;
  padding-left: 20px;
}

.ccay-push-message {
  margin: 0 2px !important;
  padding: 0px 4px  !important;
  border-radius: 1px;
  background-color: #056daa;
  /*font-weight: bold;*/
  color: white;
}

input.filter-gray {
  color: gray;
}

.ccay-title {
  text-align: center;
  margin: 5px 0px 10px;
  padding: 5px 0px;
  width: 100%;
  font-weight: bold;
  font-style: italic;
  border-bottom: 1px solid #900;
}

/** 浅色文本*/

.ccay-text-light {
  color: #797676;
}

hr {
  border-top: 1px solid #ccc;
}

/** 上传 修复IE8 IE9 IE10 点击上传页面添加文件按钮边框 跳至首页并锁屏问题*/

#uploader > {
  .flash {
    width: 80px !important;
    height: 28px !important;
  }
  .html5 {
    width: 80px !important;
    height: 22px !important;
  }
}

/*联想弹出框样式**/

.igrid-popbox {
  + {
    a.ccay-dropdown-btn, label.error + a.ccay-dropdown-btn {
      margin-left: -35px;
    }
  }
  ~ input.jbutton {
    height: 19px !important;
    margin-left: -19px !important;
    width: 18px;
    margin-top: 1px;
    background-color: #E7E4E4;
  }
}

.grid-no-result {
  font-weight: bold;
  text-align: center;
  color: #900;
  margin-top: 5px;
  width: 500px;
  position: relative;
  margin: auto;
}

#leftSiteMapTree li.li_mouseover {
  cursor: pointer;
  > a {
    text-decoration: underline;
    span {
      color: #900;
    }
  }
}

.igrid-copy-panel {
  border: 2px dotted #ffdb8f;
  position: absolute;
  z-index: 999;
}

.igrid-copy-box {
  width: 8px;
  height: 8px;
  background: #000;
  position: absolute;
  z-index: 999;
  cursor: move;
}